extends Control
# Declare member variables here. Examples:
# var a = 2
# var b = "text"

# Called when the node enters the scene tree for the first time.
func _ready():
	$VBoxContainer/SButt.grab_focus()
	TranslationServer.set_locale("en")


# physics, or when something needs to be called constantly
#func _process(delta):
#	pass

# Start button
func _on_SButt_pressed():
	get_tree().change_scene("res://Scenes/Worlds/RPG Main World.tscn")

# Options button
func _on_OButt_pressed():
	var options = preload("res://Scenes/Menu/Options.tscn").instance()
	get_tree().current_scene.add_child(options)

# Exit button
func _on_EButt_pressed():
	get_tree().quit()
